package edu.kpi.pzks2.ui.system;

import java.io.Serializable;

import edu.kpi.pzks2.graph.GraphBundle;

/**
 * POJO with all info about simulation system.
 *
 * @author Pustovit Michael, pustovitm@gmail.com
 */
public class System implements Serializable {
    private static final long serialVersionUID = 1002041171057924893L;
    private GraphBundle system;
    private int chanelCount;
    private boolean duplex;;

    public System(GraphBundle system, int chanelCount, boolean duplex) {
        super();
        this.system = system;
        this.chanelCount = chanelCount;
        this.duplex = duplex;
    }

    public GraphBundle getSystem() {
        return system;
    }
    public void setSystem(GraphBundle system) {
        this.system = system;
    }
    public int getChanelCount() {
        return chanelCount;
    }
    public void setChanelCount(int chanelCount) {
        this.chanelCount = chanelCount;
    }
    public boolean isDuplex() {
        return duplex;
    }
    public void setDuplex(boolean duplex) {
        this.duplex = duplex;
    }
}
